package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/15
*/
@Data
@ApiModel("DC 印尼流程保存在 GP 的快递 voucher，保留，也许会用到")
@Table(name = "tbl_plan_benefit_voucher")
@NoArgsConstructor
@AllArgsConstructor
public class TblPlanBenefitVoucher extends BaseEntity {
    @Column(name = "benefit_id")
    private String benefitId;

    @Column(name = "voucher_code")
    private String voucherCode;

    @Column(name = "voucher_shipping_amount")
    private BigDecimal voucherShippingAmount;

    @Column(name = "voucher_amount")
    private Integer voucherAmount;

    @Column(name = "voucher_usage_per_customer")
    private String voucherUsagePerCustomer;

    @Column(name = "voucher_shipping_method")
    private String voucherShippingMethod;

    @Column(name = "voucher_expired_date")
    private Date voucherExpiredDate;

    @Column(name = "voucher_status")
    private Integer voucherStatus;

    @Column(name = "voucher_included_medication_amount")
    private BigDecimal voucherIncludedMedicationAmount;

    @Column(name = "voucher_is_included_medication")
    private Integer voucherIsIncludedMedication;

    @Column(name = "voucher_is_included_delivery")
    private Integer voucherIsIncludedDelivery;
}